home *** CD-ROM | disk | FTP | other *** search
/ Invenzioni & Inventori / Invenzioni and Inventori (Eclectica Publishing) (1996).ISO / invenzio / citta / mi012.dir / 00335_Script_335 < prev    next >
Text File  |  1983-01-27  |  641b  |  16 lines

  1. on suono_mi012 canale,fileaudio 
  2.   global qualelingua,qualefile,soundfile
  3.   if the machinetype < 255 then
  4.     set diviso to ":"
  5.     set chedir to chars (the moviename,1 ,length (the moviename)-4)
  6.     set qualefile to ("invenzioni:invenzio:citta:"&chedir&":"&fileaudio&qualelingua&".aif")
  7.   else
  8.     set diviso to "\"
  9.     set chedir to chars (the moviename,1 ,length (the moviename)-4)
  10.     set qualefile to ("."&diviso&chedir&diviso&fileaudio&qualelingua&".aif")
  11.   end if
  12.   set soundfile to the pathname&(char 3 to the number of chars in qualefile of qualefile)
  13.   sound playfile canale, qualefile
  14.   puppetsound "audio.aif"
  15. end
  16.